﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<grupo2DEWStudio7i.Dominio.Instrumento>" %>


<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Create
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <h2>Create</h2>


    <% using (Html.BeginForm()) {%>
         <%: Html.ValidationSummary(true) %>


        <fieldset>
            <legend>Campos</legend>
            
            <%--<div class="editor-label">
                <%: Html.LabelFor(model => model.CodInstrumento) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.CodInstrumento) %>
                <%: Html.ValidationMessageFor(model => model.CodInstrumento) %>
            </div>--%>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.TipoInstru) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.TipoInstru) %>
                <%: Html.ValidationMessageFor(model => model.TipoInstru) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ModeloInstru) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ModeloInstru) %>
                <%: Html.ValidationMessageFor(model => model.ModeloInstru) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.MarcaInstru) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.MarcaInstru) %>
                <%: Html.ValidationMessageFor(model => model.MarcaInstru) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.AñoFabricacion) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.AñoFabricacion) %>
                <%: Html.ValidationMessageFor(model => model.AñoFabricacion) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Caracteristicas) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Caracteristicas) %>
                <%: Html.ValidationMessageFor(model => model.Caracteristicas) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.CostoxHora) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.CostoxHora) %>
                <%: Html.ValidationMessageFor(model => model.CostoxHora) %>
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>


    <% } %>


    <div>
        <%: Html.ActionLink("Regresar a la lista", "Index")%>
    </div>


</asp:Content>